package simpleFactory;

public class Client {
	public static void main(String[] args) {
		//使用工厂创建产品
		Car car = Driver.driverCar("BMW");
		//直接消费产品
		car.drive();
		
		Car car2 = Driver.driverCar("Benz");
		car2.drive();
	}
}
